<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>画一矩形并填充</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagefilledpolygon.html">imagefilledpolygon</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imagefilltoborder.html">imagefilltoborder</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.imagefilledrectangle" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">imagefilledrectangle</h1>
    <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imagefilledrectangle</span> &mdash; <span class="dc-title">画一矩形并填充</span></p>

   </div>
   <div class="refsect1 unknown-unknown-seealsq" id="refsect1-function.imagefilledrectangle-unknown-unknown-seealsq">
    <h3 class="title">说明</h3>
    <div class="methodsynopsis dc-description">
     <span class="type">bool</span> <span class="methodname"><strong>imagefilledrectangle</strong></span>
      ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
     , <span class="methodparam"><span class="type">int</span> <code class="parameter">$x1</code></span>
     , <span class="methodparam"><span class="type">int</span> <code class="parameter">$y1</code></span>
     , <span class="methodparam"><span class="type">int</span> <code class="parameter">$x2</code></span>
     , <span class="methodparam"><span class="type">int</span> <code class="parameter">$y2</code></span>
     , <span class="methodparam"><span class="type">int</span> <code class="parameter">$color</code></span>
     )</div>

    <p class="para rdfs-comment">
     <span class="function"><strong>imagefilledrectangle()</strong></span> 在
     <em><code class="parameter">image</code></em> 图像中画一个用
     <em><code class="parameter">color</code></em> 颜色填充了的矩形，其左上角坐标为
     <em><code class="parameter">x1</code></em>，<em><code class="parameter">y1</code></em>，右下角坐标为
     <em><code class="parameter">x2</code></em>，<em><code class="parameter">y2</code></em>。0, 0
     是图像的最左上角。
    </p>
   </div>

  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagefilledpolygon.html">imagefilledpolygon</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imagefilltoborder.html">imagefilltoborder</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
